import { createRouter, createWebHistory } from 'vue-router'

const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: '/counter',
      component: () => import('../views/Counter.vue'),
    },
    {
      path: '/list',
      component: () => import('../views/List.vue'),
    },
    {
      path: '/cart',
      component: () => import('../views/Cart.vue'),
    },
  ],
})

export default router
